<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <script
      src="//cdn.jsdelivr.net/npm/xgplayer/browser/index.js"
      type="text/javascript"
    ></script>
    <title>Play</title>
    <style>
      body,
      html {
        margin: 0;
        padding: 0;
        border: 0;
      }
    </style>
  </head>
  <body>
    <div id="mse"></div>
    <script>
      var url = location.search.substr(5);
      console.log(url);
      var player = new Player({
        id: "mse",
        url: url,
        height: window.innerHeight,
        width: window.innerWidth
      });
    </script>
  </body>
</html>
